#ifndef SEGMENT_H
#define SEGMENT_H

#include "Point.h"
#include <iostream>


class Segment
	{
	 public:
		Point initial_point;
		Point final_point;

	//COnstructors
	Segment();
	Segment(Point startPoint, Point finalPoint);

    //methods
    void readSegmentFromFile(char * archima);


	//class operators
	Segment operator+(Segment &segment2);
	Segment operator-(Segment &segment2);
	Segment operator*(double num);
	//void operator=(Segment &segment2);

	};

#endif
